package com.kgc.store.remote;

import com.kgc.basic.util.ResponseMsg;
import com.kgc.store.pojo.InventoryLoss;
import com.kgc.store.pojo.OutStore;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.Map;

public interface InventoryLossRemote {
    @RequestMapping("getInventoryLossList")
    @ResponseBody
    ResponseMsg getInventoryLossList(@RequestBody Map<String, Object> map);

    @RequestMapping("delInventoryLoss")
    @ResponseBody
    ResponseMsg delInventoryLoss(@RequestParam("code") String code);

    @RequestMapping("insertInventoryLoss")
    @ResponseBody
    ResponseMsg insertInventoryLoss(@RequestBody InventoryLoss inventoryLoss);


}
